<!--代码逻辑和样式库-->
<script src="./change-login-password.component.js"></script>
<style src="./change-login-password.scss" scoped lang="scss"></style>

<template>
  <div>
    <el-dialog :visible.sync="showDialog" width="1300px" @close="closeDialog()">
      <span slot="title">{{ title }}</span>
      <el-form ref="dataForm" :rules="editRules" :model="editForm" label-position="top">
        <div>
          <el-row :gutter="20" class="aq-padding-top-16 aq-padding-left-32 aq-padding-right-32">
            <el-col :span="5">
              <el-form-item prop="oldPassword">
                <div><span class="aq-text-color-danger">*</span>初始密码</div>
                <el-input v-model="editForm.oldPassword" type="password" placeholder="请填写初始密码" />
              </el-form-item>
            </el-col>
            <el-col :span="5">
              <el-form-item prop="newPassword">
                <div><span class="aq-text-color-danger">*</span>修改密码</div>
                <el-input v-model="editForm.newPassword" type="password" placeholder="请填写修改密码" />
              </el-form-item>
            </el-col>
            <el-col :span="5">
              <el-form-item>
                <div><span class="aq-text-color-danger">*</span>二次确认修改密码</div>
                <el-input v-model="editForm.renewPassword" type="password" placeholder="请填写二次确认修改密码" />
              </el-form-item>
            </el-col>
          </el-row>
        </div>
      </el-form>
      <span slot="footer">
        <el-button @click="closeDialog()">取消</el-button>
        <el-button type="primary" @click="save()">提交数据</el-button>
      </span>
    </el-dialog>
  </div>
</template>
